home *** CD-ROM | disk | FTP | other *** search
/ ClickArt Fonts 2 / ClickArt Fonts 2.iso / autorun.cfg next >
Text File  |  2002-05-22  |  454b  |  23 lines

  1. set $5 to registry "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\clickArt fonts 2.exe" ""
  2.  
  3. goto @notinstalled if equal {$5} ""
  4.  
  5. run {$5}
  6.  
  7. stop
  8. @notinstalled
  9.  
  10. //check for admin
  11. set $4 to isadmin ""             
  12. goto @adminerr if equal {$4} "0"
  13. goto @admin
  14. stop
  15. @adminerr
  16. message "Error" "We're sorry, you must be an administrator to run this program.  Please log on as an administrator and try again."
  17. stop
  18. @admin
  19.  
  20.  
  21. run setup.exe
  22. stop
  23.